Electronic device, method, and computer program product

ABSTRACT

An electronic device according to an embodiment including: a sensor to detect a contact position of a touch operation on a screen of a display; a display controller to display, on the screen, first information indicative of a first process to be performed, and to display, on the screen, second information in place of the first information when a moving distance of a contact position of the touch operation exceeds a first value, the second information indicative of a second process to be performed; and a processor to perform the first process when the touch operation finishes while the first information is displayed on the screen and to perform the second process when the touch operation finishes while the second information is displayed on the screen.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims the benefit of U.S. Provisional PatentApplication No. 61/983,677, filed Apr. 24, 2014.

FIELD

The embodiment described herein relates generally to an electronicdevice, a method, and a computer program product.

BACKGROUND

Compact-touch-panel-equipped devices (e.g., a wearable terminal) havebeen widely used that comprise a touch panel display on which a touchoperation can be performed. The compact-touch-panel-equipped devicedisplays a user interface (UI) on the touch panel display and executesvarious types of processes in response to touch operations through theUI.

In the compact-touch-panel-equipped device, the touch panel display hasa small area capable of displaying various types of information, therebylimiting the amount of information that can be displayed on the touchpanel display.

BRIEF DESCRIPTION OF THE DRAWINGS

A general architecture that implements the various features of theinvention will now be described with reference to the drawings. Thedrawings and the associated descriptions are provided to illustrateembodiments of the invention and not to limit the scope of theinvention.

FIG. 1 is an external exemplary view of a wearable device according toan embodiment;

FIG. 2 is an exemplary diagram for explaining a display module comprisedin the wearable device in the embodiment;

FIG. 3 is an exemplary block diagram of the hardware configuration ofthe wearable device in the embodiment;

FIG. 4 is an exemplary block diagram of the functional configuration ofthe wearable device in the embodiment;

FIG. 5 is an exemplary flowchart of a display process of an operationitem in the wearable device in the embodiment;

FIG. 6 is an exemplary diagram of notice information in the wearabledevice in the embodiment;

FIG. 7 is an exemplary diagram of notice information in the wearabledevice in the embodiment;

FIG. 8 is an exemplary diagram of an operation item in the wearabledevice in the embodiment;

FIG. 9 is an exemplary diagram of an operation item in the wearabledevice in the embodiment; and

FIG. 10 is an exemplary diagram for explaining an example of a cancelprocess executed in the wearable device in the embodiment.

DETAILED DESCRIPTION

Typical electronic devices according to an embodiment comprising: asensor to detect a contact position of a touch operation on a screen ofa display; a display controller to display, on the screen, firstinformation indicative of a first process to be performed, and todisplay, on the screen, second information in place of the firstinformation when a moving distance of a contact position of the touchoperation exceeds a first value, the second information indicative of asecond process to be performed; and a processor to perform the firstprocess when the touch operation finishes while the first information isdisplayed on the screen and to perform the second process when the touchoperation finishes while the second information is displayed on thescreen.

A wearable device 1 (an example of an electronic device) according to anembodiment, as illustrated in FIG. 1, is wearable on a part of the bodyof a user. The wearable device 1 can detect biological information ofthe user (e.g., the amount of activity such as steps taken and caloriesburned; the body temperature, sweating, pulses, and the state of sleep).The wearable device 1 comprises a display module 10 (an example of adisplay) configured to comprise a display screen 11 (e.g., a liquidcrystal display (LCD) or an organic light emitting display (OLED)) thatis an example of a screen capable of displaying thereon various types ofinformation such as notice information I to notify the user of detectedresults of biological information of the user or time clock information,and a touch sensor 12 (an example of a sensor) configured to detect atouched position P (refer to FIG. 7) that is a position where a touchoperation is performed on the display screen 11 of the display module10, as illustrated in FIGS. 1 and 2. That is, in the present embodiment,the display module 10 and the touch sensor 12 function as what is calleda touch panel display.

The following describes an example of the hardware configuration of thewearable device 1 according to the embodiment with reference to FIG. 3.The wearable device 1 according to the embodiment, as illustrated inFIG. 3, comprises a controller 101, a storage module 102, the touchsensor 12, an output module 103, a biological information sensor 104,and a communication module 105.

The controller 101 comprises a central process unit (CPU) and controlsthe components comprised in the wearable device 1. The storage module102 comprises a read only memory (ROM), and a random access memory(RAM). The storage module 102 can store therein various types ofinformation such as a computer program executed by the controller 101and data used in the computer program executed by the controller 101.

The touch sensor 12 detects, as described above, the touched position Pthat is a position where a touch operation is performed on the displayscreen 11 of the display module 10. The output module 103 comprises thedisplay module 10 which is described above, a speaker 106 capable ofoutputting audio, and a not-illustrated vibrator. The wearable device 1notifies the user of various types of information such as the noticeinformation I through display on the display screen 11 of the displaymodule 10, output from the speaker 106, and vibration from thenot-illustrated vibrator.

The biological information sensor 104 can detect the biologicalinformation (e.g., the amount of activity, the body temperature,sweating, and pulses) of the user who wears the wearable device 1. Thecommunication module 105 can wirelessly communicate with an externaldevice such as a smart phone.

The following describes an example of the functional configuration ofthe wearable device 1 according to the embodiment with reference to FIG.4. The controller 101 of the wearable device 1 in the embodiment, asillustrated in FIG. 4, comprises a display controller 401 and aprocessor 402. The display controller 401 controls the display screen 11to display the notice information I thereon. If the touched position Pdetected by the touch sensor 12 travels when the touch operation on thedisplay screen 11 is not cancelled, the display controller 401 displaysa plurality of operation items in a switching manner in a predeterminedorder (an example of a certain first order) on the display screen 11according to the moving distance of the touched position P. Theoperation items correspond to a plurality of processes that arepotentially executed, respectively. The operation items are userinterfaces to execute the processes and, hereinafter, referred to asoperation items i1, i2, i3, . . . , in or simply an operation item iunless they need to be distinguished from each other. In other words,the display controller 401 controls the display screen 11 to display anoperation item i (an example of first information) to execute a process(an example of a first process) in response to detection of the touchedposition P by the touch sensor 12 (i.e., in response to a touchoperation). If the moving distance of the touched position P exceeds acertain distance D (an example of a first value) when the touchoperation on the display screen 11 is not cancelled, the displaycontroller 401 displays another operation item i (an example of secondinformation) to execute another process (an example of a second process)in place of the operation item i being displayed. The processor 402executes a process corresponding to at least one of the operation itemsi displayed on the display screen 11 in response to cancel of the touchoperation on the display screen 11. In other words, if a touch operationis cancelled when an operation item i (e.g., an operation item i1) isdisplayed on the display screen 11, the processor 402 executes theprocess corresponding to the operation item i1. By contrast, if a touchoperation is cancelled when an operation item i2 is displayed on thedisplay screen 11, the processor 402 executes the process correspondingto the operation item i2.

The following describes an example of a display process of the wearabledevice 1 according to the embodiment with reference to FIGS. 4 to 10. Ifthe wearable device 1 is powered on, the display controller 401 startsdisplaying the notice information I on the display screen 11. Forexample, if the wearable device 1 is powered on, the display controller401, as illustrated in FIG. 6, displays time clock information as thenotice information I on the display screen 11.

While the display controller 401 displays the notice information I onthe display screen 11, the display controller 401 determines whether thetouch sensor 12 detects the touched position P on the display screen 11(S501).

If the touch sensor 12 detects the touched position P on the displayscreen 11 (Yes at S501), the display controller 401, as illustrated inFIG. 7, turns the notice information I displayed on the display screen11 translucent (S502). This enables the display controller 401 to notifythe user that the touched position P is detected and the display screen11 is ready for displaying the operation item i.

In the present embodiment, the display controller 401 turns the noticeinformation I translucent if the touch sensor 12 detects the touchedposition P. The invention is not limited to this as long as the displaycontroller 401 may change the display mode of the notice information Iif the touch sensor 12 detects the touched position P. For example, ifthe touch sensor 12 detects the touched position P, the displaycontroller 401 may hide the notice information I, blink the noticeinformation I, or change the display color of the notice information I.

After the display controller 401 turns the notice information Itranslucent and the display screen 11 is ready for displaying theoperation item i, the display controller 401 determines whether a fingerF that has touched the display screen 11 is now apart from the displayscreen 11 and thus the touch operation on the display screen 11 iscancelled (S503). If the display controller 401 determines that thetouch sensor 12 detects no touched position P and the finger F that hastouched the display screen 11 is now apart from the display screen 11without being moved on the display screen 11 (Yes at S503), that is, ifthe touch operation on the display screen 11 is cancelled, the displaycontroller 401 cancels the display of the notice information I intranslucent on the display screen 11. This enables the displaycontroller 401 to return the display of the notice information I intranslucent on the display screen 11 to the original display mode (thedisplay mode of the notice information I as illustrated in FIG. 6).

By contrast, if the display controller 401 determines that the finger Fthat has touched the display screen 11 is not apart from the displayscreen 11 (No at S503), the display controller 401 determines whetherthe finger F that has touched the display screen 11 is moved (S504). Inother words, the display controller 401 determines whether the touchedposition P detected by the touch sensor 12 travels while the touchoperation on the display screen 11 is not cancelled.

If the display controller 401 determines that the finger F that hastouched the display screen 11 is not moved in the certain distance D (Noat S504), that is, if the display controller 401 determines that thetouched position P does not travel the certain distance D from thetouched position P firstly detected by the touch sensor 12, the processsequence returns to S503. The display controller 401 then determineswhether the finger F that has touched the display screen 11 is now apartfrom the display screen 11.

By contrast, if the display controller 401 determines that the finger Fthat has touched the display screen 11 is moved in the certain distanceD (Yes at S504), that is, if the display controller 401 determines thatthe touched position P travelled the certain distance D from the touchedposition P firstly detected by the touch sensor 12, the displaycontroller 401 controls the display screen 11 to display the firstoperation item i1 in a predetermined order out of the operation items i(S505).

In the present embodiment, as illustrated in FIG. 8, if the displaycontroller 401 determines that the touched position P travelled thecertain distance D from the touched position P firstly detected, thedisplay controller 401 displays the operation item i (e.g., theoperation item i1) near the touched position P and the upper end side ofthe display screen 11 on the basis of the touched position P detected bythe touch sensor 12 in a superimposing manner onto a part of the noticeinformation I (namely, overlay display). In other words, the displaycontroller 401 displays the operation item i in the upper direction fromthe touched position P on the display screen 11. This prevents theoperation item i from being displayed on a position where a user of thewearable device 1 can hardly recognize (e.g., under the finger Fperforming the touch operation on the display screen 11) if the userperforms a touch operation on the display screen 11 to display operationitems i on the display screen 11 in a switching manner. This can displaythe operation item i on a position at which the user of the wearabledevice 1 can readily recognize.

In the present embodiment, the display controller 401 displays theoperation item i near the touched position P. The display controller 401is simply required to display the operation item i on another positionon the upper end side of the display screen 11 on the basis of thetouched position P. For example, the display controller 401 may displaythe operation item i on a certain position on the upper end side of thedisplay screen 11 on the basis of the touched position P.

In the present embodiment, the display controller 401 displays theoperation item i in a superimposing manner onto a part of the noticeinformation I. The invention is not limited to this as long as thedisplay controller 401 may display the operation item i in place of atleast a part of the notice information I or together with the noticeinformation I. For example, the display controller 401 may display theoperation item i in place of the whole of the notice information I orturning the operation item i translucent.

The display controller 401 does not display the operation item i untilthe touched position P travels the certain distance D from the touchedposition P if the touch sensor 12 detects the touched position P. Thisprevents the user to unintendedly touch the display screen 11 of thewearable device 1, thereby preventing the operation item i from beingdisplayed and the process corresponding to the operation item i frombeing executed.

Referring to FIG. 5 again, after the first operation item i1 isdisplayed, the display controller 401 determines whether the finger Fthat has touched the display screen 11 is now apart from the displayscreen 11 and thus the touch operation on the display screen 11 iscancelled (S506). If the display controller 401 determines that thefinger F that has touched the display screen 11 is not apart from thedisplay screen 11 (No at S506), the display controller 401 thendetermines whether the finger F that has touched the display screen 11is moved (S507). In other words, the display controller 401 determineswhether the touched position P detected by the touch sensor 12 continuestravelling without cancelling the touch operation on the display screen11.

If the display controller 401 determines that the finger F that hastouched the display screen 11 is not moved in the certain distance Dafter the first operation item i1 is displayed (No at S507), that is, ifthe display controller 401 determines that the touched position P doesnot travel a certain distance D after the first operation item i1 isdisplayed, the process sequence returns to S506. The display controller401 then determines whether the finger F that has touched the displayscreen 11 is now apart from the display screen 11.

By contrast, the display controller 401 determines that the finger Fthat has touched the display screen 11 is moved in the certain distanceD after the first operation item i1 is displayed (Yes at S507), that is,if the display controller 401 determines that the touched position Pdetected by the touch sensor 12 travels the certain distance D after thefirst operation item i1 is displayed, the display controller 401displays the subsequent second operation item i2 in place of the firstoperation item i1 out of the operation items i on the display screen 11(S508). The display controller 401 displays the operation items i on thedisplay screen 11 in a switching manner according to the moving distanceof the touched position P regardless of the travelling direction or thetravelled position by the finger F that has touched the display screen11 (the touched position P detected by the touch sensor 12).

This enables the user of the wearable device 1 to display an intendedoperation item i on the display screen 11 without taking care of theposition of the operation item i displayed on the display screen 11 bycontinuing moving the touched position P until the intended operationitem i is displayed. This achieves readily displaying an intendedoperation item i if the operation item i is displayed on the displayscreen 11 in a small size that is likely to limit the movement of thefinger F of the user.

In the present embodiment, the display controller 401 displays theoperation item i (e.g., the second operation item i2) in place of thefirst operation item it near the touched position P and the upper endside of the display screen 11 on the basis of the touched position Pdetected by the touch sensor 12 in a superimposing manner onto a part ofthe notice information I, as illustrated in FIG. 9, in the same manneras the first operation item i1. This prevents the operation item i frombeing displayed on a position under the finger F performing the touchoperation on the display screen 11 if the user performs a touchoperation on the display screen 11 and controls the display screen 11 todisplay operation items i in a switching manner. This can display theoperation item i on a position at which the user who wears the wearabledevice 1 can readily recognize the item.

In the present embodiment, the display controller 401 doesn't switch thepresent operation item i to the subsequent present operation item iuntil the touched position P travels the certain distance D after acertain operation item i is displayed (in other words, if the touchedposition P travels a distance shorter than the certain distance D aftera certain operation item i is displayed). This prevents the operationitem i from being switched to the subsequent one displayed on thedisplay screen 11 if the user unintendedly moves the finger F on thedisplay screen 11 without the purpose of switching the operation itemsi.

The process sequence of the display controller 401 returns to S506, andthen the display controller 401 repeats the above-described processesS506 to S508 until the finger F that has touched the display screen 11is apart from the display screen 11 and thus the touch operation on thedisplay screen 11 is cancelled. Subsequently, after the last operationitem “in” out of the operation items is displayed and if the touchedposition P continues travelling without cancelling the touch operationon the display screen 11, the display controller 401 displays the firstoperation item i1 again and continues to display the operation items iin the predetermined order according to the moving distance of thetouched position P.

If the display controller 401 determines that the finger F that hastouched the display screen 11 is now apart from the display screen 11and thus the touch operation on the display screen 11 is cancelled (Yesat S506), the processor 402 determines whether the touched position Plastly detected by the touch sensor 12 exists within an area near an endof the display screen 11 (S509). If the processor 402 determines thatthe touched position P lastly detected by the touch sensor 12 does notexist within an area near an end of the display screen 11 (No at S509),the processor 402 executes the process corresponding to the operationitem i lastly displayed by the display controller 401 (S510).

In the present embodiment, the processor 402 executes the processcorresponding to the operation item i displayed when the touch operationon the display screen 11 is cancelled (i.e., the operation item i lastlydisplayed by the display controller 401). The invention is not limitedto this as long as the processor 402 may execute the processcorresponding to at least one of the operation item i out of theplurality of the operation items i displayed on the display screen 11 inresponse to the cancel of the touch operation on the display screen 11.For example, the processor 402 may execute the process corresponding tothe operation item i lastly displayed by the display controller 401 andthe process corresponding to the operation items i displayed a certainnumber before (e.g., one before) the operation items i lastly displayedby the display controller 401 on the display screen 11 in response tothe cancel of the touch operation on the display screen 11. This enablesthe user of the wearable device 1 to execute the intended process bypulling its finger F away from the display screen 11 when the operationitem i corresponding to the intended process is displayed. Thisfacilitates the operation to execute the intended process.

By contrast, if the processor 402 determines that the touched position Plastly detected by the touch sensor 12 when the operation item i isdisplayed on the display screen 11 (the touched position P when thetouch operation on the display screen 11 is cancelled) exists within anarea near an end of the display screen 11 (Yes at S509) as illustratedin FIG. 10, the processor 402 executes a cancel process to inhibitexecution of the process corresponding to the operation item i (S511).That is, if the touched position P when the touch operation on thedisplay screen 11 is cancelled exists within an area near an end of thedisplay screen 11 when the display screen 11 displays the operation itemi thereon (Yes at S509), the processor 402 does not execute the processcorresponding to the operation item i. If the touch operation on thedisplay screen 11 is cancelled and the touched position P lastlydetected by the touch sensor 12 exists within an area near an end of thedisplay screen 11, the display controller 401 ends the display of theoperation item i and returns the display mode of the notice informationI in the display screen 11 (in the present embodiment, cancels thetranslucent display of the notice information I).

In the present embodiment, if the touch operation on the display screen11 is cancelled and the touched position P lastly detected by the touchsensor 12 exists within an area near an end of the display screen 11,the processor 402 executes the cancel process. The invention is notlimited to this as long as the processor 402 may execute the cancelprocess if the touch operation on the display screen 11 is cancelled andthe touched position P lastly detected by the touch sensor 12 exists incertain position. For example, the processor 402 may execute the cancelprocess if the touched position P lastly detected exists within any areanear any one of the ends of the display screen 11 or a corner of thedisplay screen 11.

As described above, according to the wearable device 1 in theembodiment, only small number of operation items i need to be constantlydisplayed on a compact touch panel display, thereby preventing theamount of information of the notice information I from being reduced dueto the display of the operation item i on the compact touch paneldisplay.

The display controller 401 may set an order to display the plurality ofthe operation items i according to the rate of execution (in otherwords, the rate of selection of the plurality of the operation items i)of the process corresponding to the respective operation items i anddisplay the operation items i in a switching manner according to theorder. For example, the display controller 401 sets the order to displaythe plurality of the operation items i so as to be displayed in theorder from the operation item i with the higher rate of execution (inother words, the operation item i with the higher rate of selection).

In the present embodiment, although the display controller 401 displaysthe plurality of the operation items i in a switching manner in apredetermined order (a first order) according to the moving distance ofthe touched position P regardless of the travelling direction, theinvention is not limited to this. Alternatively, if the travellingdirection of the touched position P is changed from a first direction(e.g., clockwise rotation) to a second direction that is reverse to thefirst direction (e.g., counterclockwise rotation), the displaycontroller 401 may display the plurality of the operation items i in aswitching manner in the reverse order of the predetermined order (anexample of a second order) on the basis of the operation item i lastlydisplayed. In other words, if the touched position P travels while thetouch operation on the screen is not cancelled, in the direction reverseto the direction from the touched position P when a certain operationitem i (e.g., the operation item i1) is displayed to the touchedposition P when the subsequent operation item i (e.g., the operationitem i2) is displayed, the display controller 401 displays the operationitem i1 in place of the operation item i2.

In the present embodiment, although if a certain operation item in isdisplayed, the display controller 401 hides (deletes) the operation itemin−1 displayed one before the operation item in, the invention is notlimited to this. Alternatively, if a certain operation item in isdisplayed, the display controller 401 may continue displaying theoperation item in−1 displayed a given number (e.g., one) before theoperation item in without hiding (deleting) it.

In the present embodiment, although the display controller 401 displaysthe plurality of the operation items i in a switching manner accordingto only the moving distance of the touched position P, the invention isnot limited to this. Alternatively, the display controller 401 maydisplay the operation items i in a switching manner according to thetime period of continuation of the touch operation on the display screen11 without being cancelled. For example, the display controller 401switches the operation item in to the subsequent operation item in+1 ifthe moving distance of the touched position P does not reach a certaindistance required for switching to the subsequent operation item in+1within a predetermined time. In other words, the display controller 401displays the operation item in+1 in place of the operation item i if themoving distance of the touched position P does not exceed a certaindistance D within a predetermined time (an example of a first time)period after a certain operation item in is displayed when the touchoperation on the display screen 11 is not cancelled.

In the present embodiment, although if the touch operation on thedisplay screen 11 is cancelled and the touched position P lastlydetected by the touch sensor 12 has moved to an area near an end of thedisplay screen 11, the processor 402 inhibits the process correspondingto the operation item i, the invention is not limited to this. Forexample, the display controller 401 displays the operation item icorresponding to the process to inhibit execution of the processcorresponding to the operation item i on the display screen 11 as one ofthe operation items i displayed in a switching manner. If the operationitem i displayed when the touch operation on the display screen 11 iscancelled is the operation item i corresponding to the cancel process,the processor 402 can execute the cancel process.

Moreover, the various modules of the systems described herein can beimplemented as software applications, hardware and/or software modules,or components on one or more computers, such as servers. While thevarious modules are illustrated separately, they may share some or allof the same underlying logic or code.

While certain embodiments have been described, these embodiments havebeen presented by way of example only, and are not intended to limit thescope of the invention. Indeed, the novel embodiments described hereinmay be embodied in a variety of other forms; furthermore, variousomissions, substitutions and changes in the form of the embodimentsdescribed herein may be made without departing from the spirit of theinvention. The accompanying claims and their equivalents are intended tocover such forms or modifications as would fall within the scope andspirit of the invention.

What is claimed is:
 1. An electronic device comprising: a sensor todetect a contact position of a touch operation on a screen of a display;a display controller to display, on the screen, first informationindicative of a first process to be performed, and to display, on thescreen, second information in place of the first information when amoving distance of a contact position of the touch operation exceeds afirst value, the second information indicative of a second process to beperformed; and a processor to perform the first process when the touchoperation finishes while the first information is displayed on thescreen and to perform the second process when the touch operationfinishes while the second information is displayed on the screen.
 2. Theelectronic device of claim 1, wherein the display controller isconfigured to display, on the screen, the first information in place ofthe second information when a contact position of the touch operationtravels while the touch operation on the screen does not finish, in anopposite direction from a contact position of the touch operation whenthe first information is displayed to a contact position of the touchoperation when the second information is displayed.
 3. The electronicdevice of claim 1, wherein the processor is configured not to performthe first process or the second process when a contact position of thetouch operation exists within an area near an end of the screen when thetouch operation on the screen is finished while the first information orthe second information is displayed on the screen.
 4. The electronicdevice of claim 1, wherein the display controller is configured todisplay the first information or the second information in a position inan upper direction from a position where the touch operation isperformed on the screen of the display.
 5. The electronic device ofclaim 1, wherein the display controller is configured to display thesecond information in place of the first information when the movingdistance of a contact position of the touch operation does not exceedthe first value within a first time period after the first informationis displayed while the touch operation on the screen is not finished. 6.A method comprising: detecting a contact position of a touch operationon a screen on a display; displaying, on the screen, first informationindicative of a first process to be performed, and displaying, on thescreen, second information in place of the first information when amoving distance of a contact position of the touch operation exceeds afirst value, the second information indicative of a second process to beperformed; and performing the first process when the touch operationfinishes while the first information is displayed on the screen andperforming the second process when the touch operation finishes whilethe second information is displayed on the screen.
 7. The method ofclaim 6, wherein the displaying includes displaying, on the screen, thefirst information in place of the second information when a contactposition of the touch operation travels while the touch operation doesnot finish, in an opposite direction from a contact position of thetouch operation when the first information is displayed to a contactposition of the touch operation when the second information isdisplayed.
 8. The method of claim 6, wherein the performing includes notperforming the first process or the second process when a contactposition of the touch operation exists within an area near an end of thescreen when the touch operation on the screen is finished while thefirst information or the second information is displayed on the screen.9. The method of claim 6, wherein the displaying includes displaying thefirst information or the second information in a position in an upperdirection from a position where the touch operation is performed on thescreen of the display.
 10. The method of claim 6, wherein the displayingincludes displaying the second information in place of the firstinformation when the moving distance of a contact position of the touchoperation does not exceed the first value within a first time periodafter the first information is displayed while the touch operation onthe screen is not finished.
 11. A computer program product having anon-transitory computer readable medium including programmedinstructions, wherein the instructions, when executed by a computer,cause the computer to perform: detecting a contact position of a touchoperation on a screen on a display; displaying, on the screen, firstinformation indicative of a first process to be performed, anddisplaying, on the screen, second information in place of the firstinformation when a moving distance of a contact position of the touchoperation exceeds a first value, the second information indicative of asecond process to be performed; and performing the first process whenthe touch operation finishes while the first information is displayed onthe screen and performing the second process when the touch operationfinishes while the second information is displayed on the screen. 12.The computer program product of claim 11, wherein the displayingincludes displaying, on the sceen, the first information in place of thesecond information when a contact position of the touch operationtravels while the touch operation on the screen does not finish, in anopposite direction from a contact position of the touch operation whenthe first information is displayed to a contact position of the touchoperation when the second information is displayed.
 13. The computerprogram product of claim 11, wherein the performing includes notperforming the first process or the second process when a contactposition of the touch operation exists within an area near an end of thescreen when the touch operation on the screen is finished while thefirst information or the second information is displayed on the screen.14. The computer program product of claim 11, wherein the displayingincludes displaying the first information or the second information in aposition in an upper direction from a position where the touch operationis performed on the screen of the display.
 15. The computer programproduct of claim 11, wherein the displaying includes displaying thesecond information in place of the first information when the movingdistance of a contact position of the touch operation does not exceed afirst value within a first time period after the first information isdisplayed while the touch operation on the screen is not finished.